Welcome![Sign In][Sign Up]
Location:
Search - vc tcp ip

Search list

[Other resourceVC++源代码之网络泡泡龙

Description: 环境:windows98/2000/xp,Visula C++6.0下编译通过.模型采用的目前非常流行的C/S架构,TCP/IP通信协议-environment : windows98/2000/xp, Visula 6.0 C compiler through. The current model is very popular C / S architecture, TCP / IP communication protocol
Platform: | Size: 5113088 | Author: 袁慧 | Hits:

[Internet-NetworkVC通信程序代码

Description: VC通信程序源代码.TCP/UDP高级编程,TCP,IP终端程序源代码等.-VC communications source code .TCP / UDP senior programming, TCP, IP terminal program, such as source code.
Platform: | Size: 2040153 | Author: 杨敬禹 | Hits:

[Other resourceucos及文件系统ucfs VC环境调试代码

Description: ucos是一个非常优秀的嵌入式操作系统,但作者只提供了bc下测试与调试代码,非常难于调试与学习,特别是初学者。vc是windows下非常优秀的IDE,如果把ucos移植到vc下运行,将非常方便ucos的调试与学习,有利于于ucos的推广。此项目的目的是希望能够把ucos及其相关的文件系统ucfs,GUI界面ucgui,网络tcp/ip都移植过来,方便广大爱好者学习。-CENTER is a very good embedded operating system, the author provides only a bc under test and debug code is very difficult to debug and learning, especially beginners. Vc under windows is excellent IDE, if transplanted to vc CENTER run, CENTER will be very convenient debugging and learning, is conducive to the promotion CENTER. The objective of this project is to be able to give CENTER and its related documents ucfs system, ucgui GUI interface, network tcp / ip all transplant, the majority of enthusiasts facilitate learning.
Platform: | Size: 244065 | Author: 测试 | Hits:

[TCP/IP stackVC++_TcpIp_Develop_Chat_Tool

Description: Vc++ 网络编程,基于TCP/IP协议的网络通讯小程序,用于检测网络链路状态和通讯传输速度。-Vc network programming, based on the TCP / IP network communications small procedures, for testing network communication link state and the transmission speed.
Platform: | Size: 43931 | Author: baihaili | Hits:

[WinSock-NDISTCP.IP

Description: TCPIP终端程序源代码运行环境vc++ 6.0
Platform: | Size: 52570 | Author: jiang | Hits:

[TCP/IP stackTCP

Description: VC++6.0使用TCP/IP协议实现的多人网络聊天程序
Platform: | Size: 59324 | Author: ahui | Hits:

[TCP/IP stackTCP.IPwsterm

Description: TCP/IP网络源码,用VC编写,很有用处的
Platform: | Size: 50675 | Author: 舞曲 | Hits:

[Internet-Network用WINSOCK实现聊天室的VC

Description: Internet上可以提供一种叫IRC 的服务。使用者通过客户端的程序登录到IRC服务器上,就可以与登录在同一IRC服务器上的客户进行交谈,这也就是平常所说的聊天室。在这里,给出了一个在运行TCP/IP协议的网络上实现IRC服务的程序。-Internet can provide a service called IRC. Client users through the process log on to IRC servers, and can be logged on the same server on the IRC chat client, which is usually the chat rooms. Here is a running TCP / IP on the network to achieve the IRC service procedures.
Platform: | Size: 8321 | Author: 风清扬 | Hits:

[Other resourceTini 的VC原代码

Description: TINI平台可提供设计IP网络继电器所 需的TCP/IP栈和本地控制,Java运行环境可以大大降低设计-TINI platform will provide IP network design needed to relay the TCP / IP stack and local control, the Java runtime environment can greatly reduce design
Platform: | Size: 1635 | Author: 吕杰 | Hits:

[WinSock-NDISTCP实现客户服务器聊天程序

Description:

 

操作系统课程设计任务书


一、设计题目:多机进程通信

应用Socket进程通信技术编写聊天室程序,实现基于服务器的并发多机信息转发。如果各客户端在线则可以实时聊天、发送接收文件,如果某客户端离线,则发送给他的消息可由服务器端进行内容缓存,待重新连线后可以自动接收通过服务器转发的信息或文件。缓存与转发的控制算法可参考操作系统课程中生产者消费者进程同步方法、缓冲池技术等相关理论。
二、设计思路和功能的详细描述
采用TCP协议,所以属于客户机/服务器模式,因此需要聊天服务器端和聊天客户端两个程序,实现的功能是:任意一台装有客户端程序的计算机都可以通过服务器端的IP地址与服务器相连,然后进入聊天室与连接到服务器的其他客户进行聊天。当客户聊天结束时,可以点断开与服务器断开连接,以释放进程让其他等待的客户进入聊天室,本聊天室最大同时支持50个客户端的连接,如果服务器配置较高可以修改程序来增加同时连接数。
三、采用的方法、技术、运行环境及其配置
本聊天程序采用TCP协议,用VC++编写,属于客户机/服务器模式。采用了多线程的机制。其中使用windows Sockets实现多台计算机(多个进程)间的通信,SOCKET实际在计算机中提供了一个通信端口,可以通过这个端口与任何一个具有SOCKET接口的计算机通信。应用程序在网络上传输,接收的信息都通过这个SOCKET接口来实现。客户机/服务器模式中客户应用程序向服务器程序请求服务。一个服务程序通常在一个众所周知的地址监听对服务的请求,也就是说,服务进程一直处于休眠状态,直到一个客户对这个服务的地址提出了连接请求。在这个时刻,服务程序被“惊醒”并且为客户提供服务即对客户的请求作出适当的反应。本聊天程序就是基于这中思想实现的,程序分为两大部分:TCP聊天服务器端和TCP聊天客户端。两者都拥有各自的SOCKET接口,其中服务器端SOCKET接口需要绑定到固定地址上(实现语句:ock=Socket(AF_INET,SOCK_STREAM,0);),等待客户端的连接(实现语句:listen(sock,5);)。等待客户端的连接的过程就是通过多进程机制来实现的。
聊天程序是在VISUAL C++6.0上编译实现的,在WINDOWS2000,XP上测试运行成功。
对客户计算机配置无特殊要求,由于所设置的最大连接进程为50,所以对服务器要求也不高。
四、关键源程序及其详细的注释
<一>、服务器端
1
、Socket初始化
//
初始化对话框
BOOL CCSocketDlg::OnInitDialog()
{

count=0;

m_list.InsertColumn(0,"消息");

m_list.SetColumnWidth(0,435);

m_edit.SetLimitText(99);

.

.

.

.

 


Platform: | Size: 55808 | Author: lenjear | Hits:

[Windows Developtcpip_terminal

Description: ip包监视器(VC)-ip packet monitors (VC)
Platform: | Size: 154624 | Author: 唯一 | Hits:

[SCMTini 的VC原代码

Description: TINI平台可提供设计IP网络继电器所 需的TCP/IP栈和本地控制,Java运行环境可以大大降低设计-TINI platform will provide IP network design needed to relay the TCP/IP stack and local control, the Java runtime environment can greatly reduce design
Platform: | Size: 1024 | Author: 吕杰 | Hits:

[TCP/IP stackDNS服务器

Description: DNS服务器的源码,vc,包含客户端nslookup的源码-DNS server source code, vc, including client nslookup the source
Platform: | Size: 415744 | Author: 杨兵 | Hits:

[Internet-Networksockttolong

Description: 完整串口通信程序 Vc++源代码 TCP/IP协议 UDP协议 短连接,长连接,定时器 等-Complete serial communication program Vc++ source code for TCP/IP protocol UDP protocol to connect the short and long connections, timers, etc.
Platform: | Size: 3427328 | Author: jack | Hits:

[TCP/IP stackUC-OS-TCP-IP-PPP-statck

Description: UC-OS下的TCP-IP-PPP协议栈,在VC环境下实现,有PPPtest测试程序-Under UC-OS system,TCP/IP/PPP statck source
Platform: | Size: 396288 | Author: 杜山 | Hits:

[Remote ControlClient_Server

Description: tcp/ip协议,vc,在局域网或广域网可实现客户端/服务器端远程控制.-tcp/ip protocol, vc, in the local area network or wide area network can be realized client/server-side remote control.
Platform: | Size: 315392 | Author: 云木 | Hits:

[Internet-NetworkTCP_Server

Description: tcp服务器端程序;tcp/ip协议;vc++编写-tcp server-side program tcp/ip protocol vc++ write
Platform: | Size: 240640 | Author: 石远鹏 | Hits:

[Internet-NetworkTCP_Client

Description: 网络编程客户端程序;TCP/IP协议;VC++源码-TCP/IP client program VC++ Source
Platform: | Size: 242688 | Author: 石远鹏 | Hits:

[Software EngineeringTCP

Description: 用VC++ 做的TCP/IP 聊天软件源码~-The the do with VC++ TCP/IP chat software source code to
Platform: | Size: 2263040 | Author: 不懂 | Hits:

[Internet-NetworkTCPServer

Description: TCP/IP接收界面,服务器端,带显示,采用VC++进行编写,套字节使用(TCP/IP receiving interface, server side, display Write with VC++ and use bytes)
Platform: | Size: 6183936 | Author: tim1986 | Hits:
« 1 2 3 45 6 7 8 9 10 ... 15 »

CodeBus www.codebus.net